import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    name: 'home',
    component:  ()=>import( '@/views/demo/BasePanel')
  },
  {
    path: '/test',
    name: 'test',
    component:  ()=>import( '@/views/demo/ControlPanel')
  },
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
